<ion-view class="sort" hide-nav-bar="true" cache-view="true">
    <div class="bar bar-header">

            <a class="button button-icon icon ion-chevron-left button-clear" on-tap="$ionicGoBack()"></a>
            <label class="item item-input item-input-wrapper">
                <i class="icon ion-search placeholder-icon"></i>
                <input type="text" ng-focus="searchStart()">
            </label>

        <button class="button button-clear icon ion-qr-scanner" ></button>
    </div>
    <ion-content scroll="false" class="has-header">
        <ion-scroll direction="y" delegate-handle="small">
            <ion-list>
                <ion-item ng-repeat="item in items track by $index" ng-class="{active:$index==currentIndex}" on-tap="switchList($event,item)">
                    {{item.FirstName}}
                </ion-item>
            </ion-list>

        </ion-scroll>
        <div class="slide-right">
            <div class="list-content">
                <div class="container clearfix">
                    <a href="" on-tap="searchProduct(typeword)" ng-repeat="typeword in currentList track by $index">{{typeword.SecondName}}</a>
                </div>
            </div>
        </div>

    </ion-content>
</ion-view>